package com.topisv.tms.rest.qimen.qmentity.request.EntryOrderConfirm;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;

import org.hibernate.validator.constraints.NotBlank;

@XmlAccessorType(XmlAccessType.FIELD)
public class EntryOrderConfirm {
	@XmlElement(name="entryOrderCode")
	private String entryOrderCode;		//入库单编码,
	@XmlElement(name="ownerCode")
	private String ownerCode;			//货主编码
	@XmlElement(name="warehouseCode")
	private String warehouseCode; 		//仓库编码
	@XmlElement(name="entryOrderId")
	private String entryOrderId;		//仓储系统入库单ID
	
	@NotBlank
	@XmlElement(name="entryOrderType")
	private String entryOrderType;		//入库单类型 601普通入库单, 501销退入库单 , 302 调拨入库单 , 904其他入库单
	@XmlElement(name="outBizCode")
	private String outBizCode;			//外部业务编码, 多次确认时, 每次传入要求唯一
	@XmlElement(name="confirmType")
	private int confirmType;			//支持出入库单多次收货, int，多次收货后确认,0 表示入库单最终状态确认；1 表示入库单中间状态确认；
	@XmlElement(name="status")
	private String status;				//入库单状态, string (50) , 必填 (NEW-未开始处理, ACCEPT-仓库接单 , PARTFULFILLED-部分收货完成, FULFILLED-收货完成, EXCEPTION-异常, CANCELED-取消, CLOSED-关闭, REJECT-拒单, CANCELEDFAIL-取消失败) , (只传英文编码)
	@XmlElement(name="operateTime")
	private String operateTime;			//操作时间, string (19) , YYYY-MM-DD HH:MM:SS，(当status=FULFILLED, operateTime为入库时间)
	@XmlElement(name="remark")	
	private String remark;				//	备注
	public String getEntryOrderCode() {
		return entryOrderCode;
	}
	public void setEntryOrderCode(String entryOrderCode) {
		this.entryOrderCode = entryOrderCode;
	}
	public String getOwnerCode() {
		return ownerCode;
	}
	public void setOwnerCode(String ownerCode) {
		this.ownerCode = ownerCode;
	}
	public String getWarehouseCode() {
		return warehouseCode;
	}
	public void setWarehouseCode(String warehouseCode) {
		this.warehouseCode = warehouseCode;
	}
	public String getEntryOrderId() {
		return entryOrderId;
	}
	public void setEntryOrderId(String entryOrderId) {
		this.entryOrderId = entryOrderId;
	}
	public String getEntryOrderType() {
		return entryOrderType;
	}
	public void setEntryOrderType(String entryOrderType) {
		this.entryOrderType = entryOrderType;
	}
	public String getOutBizCode() {
		return outBizCode;
	}
	public void setOutBizCode(String outBizCode) {
		this.outBizCode = outBizCode;
	}
	public int getConfirmType() {
		return confirmType;
	}
	public void setConfirmType(int confirmType) {
		this.confirmType = confirmType;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String getOperateTime() {
		return operateTime;
	}
	public void setOperateTime(String operateTime) {
		this.operateTime = operateTime;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}

}
